﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace QQTools.Data.Enums.InviteGroup
{
    public enum InviteGroupStatus
    {
        /// <summary>
        /// 待处理
        /// </summary>
        Pending = 1,
        /// <summary>
        /// 已邀请
        /// </summary>
        Success = 2,
        /// <summary>
        /// 进行中
        /// </summary>
        Bebeing = 3,
        /// <summary>
        /// 失败
        /// </summary>
        Failed = 4
    }

    public static class InviteGroupStatusExtensions
    {
        public static string ToChineseString(this InviteGroupStatus status)
        {
            switch (status)
            {
                case InviteGroupStatus.Pending:
                    return "-";
                case InviteGroupStatus.Success:
                    return "✔️";
                case InviteGroupStatus.Bebeing:
                    return "⏳";
                case InviteGroupStatus.Failed:
                    return "❌";
                default:
                    return "未知";
            }
        }
    }



}
